#define OK 1
#define ERROR 0
#define TURE 1
#define FALSE 0

typedef int status;

status GetELem(sqlist L,int i,ELemType *e)
{
    if (L.lenth ==0 || i < 1 || i > L.lenth )
    {
      
        return ERROR;
    }
     
    *e =L.data (i-1);
    
        return OK;

}	
